package com.atguig.c_test;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD,ElementType.TYPE,ElementType.FIELD}) //此注解能放在哪些地方
@Retention(RetentionPolicy.RUNTIME)
public @interface Login {
    //属性
    String username();

    String password();
}
